package com.yunhe.mybatis.service;

import com.yunhe.mybatis.dto.Pageable;
import com.yunhe.mybatis.entity.Pay;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PayService {
    void save(Pay pay);

    void update(Pay pay);

    void remove(Integer id);

    List<Pay> findAll();

    Pay find(Integer id);//查询

    Pageable  findforPage(int page,int size);

}
